@import '~antd/es/style/variable.less';
* {
  font-family: '宋体'
}

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

// 内容字体大小
.good-content-size {
  font-size: 15px !important;
}

.good-flex-center {
  display: flex;
  align-items: center;
}

.good-flex-center-horizon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.good-bold {
  font-weight: bold !important;
}

.ant-table-thead > tr > th, .ant-table-tbody > tr > td, .ant-table tfoot > tr > th, .ant-table tfoot > tr > td {
  font-size: 15px;
}

// 标题字体大小
.good-title-size {
  font-size: 25px !important;
}

// 顶部蓝色
.ant-layout-header > .ant-pro-global-header {
  background-color: #2496ff !important;
}

// 菜单
.ant-menu {
  font-size: 18px !important;
  font-weight: bold !important;
}

.ant-menu-item {
  height: 60px !important;
}

// dashboard 第一个表格样式
.TableParallel .ant-table-cell {
  background-color: white !important;
  font-size: 16px !important;
  line-height: 28px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.good-title {
  font-size: 20px !important;
}

.good-content {

}

.ant-layout-header .ant-pro-global-header-logo a h1 {
  font-size: 24px;
  font-weight: bolder;
  font-family: 宋体;
}

// 修改填报文字大小
.ant-page-header-heading-title {
  font-size: 26px !important;
}

.ant-pro-page-container-content {
  font-size: 22px;
}

// 修改响应式换行原理
@media (max-width: 2000px) {
  .good-col-15-2000 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .good-col-9-2000 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

// 卡片字体加粗
.ant-card-head-title {
  font-size: 16px !important;
  font-weight: bold;
}

.finish  .ant-card-head-title {
  font-size: 20px !important;
  font-weight: bold;
}

.ant-collapse > .ant-collapse-item > .ant-collapse-header {
  background-color: rgb(250, 250, 250);
}

// 上传附件最大宽度
.ant-upload-list-item-name {
  max-width: 466px !important;
}
